<!--最新房产展示组件-->
<template>
    <div class="property-section section pt-100 pt-lg-80 pt-md-70 pt-sm-60 pt-xs-50 pb-60 pb-lg-40 pb-md-30 pb-sm-20 pb-xs-10">
        <div class="container">
            <div class="row">
                <div class="col-md-12 mb-60 mb-xs-30">
                    <div class="section-title center">
                        <h1>最新房产</h1>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="property-item col-lg-4 col-md-6 col-12 mb-40" v-for="one in list" :key="one.id">
                    <fc-property-inner :data="one"/>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    import FcPropertyInner from '@/components/property/PropertyInner.vue'

    export default {
        components: {
            FcPropertyInner
        },
        props: {
            list: {
                type: Array,
                default() {
                    return [
                        {
                            id: 1,
                            pictureUrl: '/images/property/property-1.jpg',
                            square: 550,
                            roomNumber: 3,
                            bathroomNumber: 3,
                            garageNumber: 3,
                            title: '江南宅院',
                            price: 550,
                            leaseType: 1,
                            address: '锦江区东大街下东大街568号',
                            rentType: 1,
                            hot: 0,
                            special: 0,
                        },
                        {
                            id: 2,
                            pictureUrl: '/images/property/property-2.jpg',
                            square: 550,
                            roomNumber: 3,
                            bathroomNumber: 3,
                            garageNumber: 3,
                            title: '木马山别墅',
                            price: 2550,
                            leaseType: 1,
                            address: '城北大道450附22号',
                            rentType: 2,
                            hot: 1,
                            special: 0,
                        },
                        {
                            id: 3,
                            pictureUrl: '/images/property/property-3.jpg',
                            square: 550,
                            roomNumber: 3,
                            bathroomNumber: 3,
                            garageNumber: 3,
                            title: '皇家一号公寓',
                            price: 550,
                            leaseType: 1,
                            address: '锦江区福字街215号',
                            rentType: 1,
                            hot: 0,
                            special: 1,
                        },
                        {
                            id: 4,
                            pictureUrl: '/images/property/property-4.jpg',
                            square: 550,
                            roomNumber: 3,
                            bathroomNumber: 3,
                            garageNumber: 3,
                            title: '龙城一号别墅',
                            price: 550,
                            leaseType: 1,
                            address: '龙泉驿区南山大道333号附12号',
                            rentType: 1,
                            hot: 0,
                            special: 0,
                        },
                        {
                            id: 5,
                            pictureUrl: '/images/property/property-5.jpg',
                            square: 550,
                            roomNumber: 3,
                            bathroomNumber: 3,
                            garageNumber: 3,
                            title: '春天花园别墅',
                            price: 550,
                            leaseType: 1,
                            address: '金牛区琴台西路668号',
                            rentType: 2,
                            hot: 0,
                            special: 0,
                        },
                        {
                            id: 6,
                            pictureUrl: '/images/property/property-6.jpg',
                            square: 550,
                            roomNumber: 3,
                            bathroomNumber: 3,
                            garageNumber: 3,
                            title: '万科西山别墅',
                            price: 550,
                            leaseType: 1,
                            address: '高新区蜀都大道12号',
                            rentType: 1,
                            hot: 0,
                            special: 1,
                        }
                    ];
                }
            }
        }
    }
</script>
